package com.ibangnuo.manage.dao;

import com.ibangnuo.framework.domain.Rate;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @Author: wwy
 * @Date: 2019-12-26 17:36
 */
public interface RateRepository extends JpaRepository<Rate,String>, JpaSpecificationExecutor {


    List<Rate> findByAcId(String id);

    Rate findByAcIdAndPayWay(String agentId, int i);
}
